package com.ymt.bpm.service.platform.fauth;

import com.alibaba.fastjson.JSONObject;
import com.ymt.bpm.model.PUser;
import com.ymt.bpm.model.PUserExt;
import com.ymt.bpm.model.PUserExtref;

/**
 * Created by Johnny on 2017/2/17.
 */
public interface FaUserService {

    public JSONObject allByTenant(String tenantId,
                                  String queryArgs,
                                  int timezoneOffset);

    public JSONObject listAll(String tenantId,
            String search, String sort, String order, int offset, int limit);

    public JSONObject saveDetailed(String tenantId, String loginName, String displayName,
                                   PUser user, PUserExt userExt, PUserExtref userExtref);
}
